<?php
echo $this->Html->script(array('calendar/jquery-1.5.min', 'calendar/jquery-ui-1.8.9.custom.min', 'calendar/fullcalendar.min', 'calendar/jquery.qtip-1.0.0-rc3.min', 'calendar/ready'), array('inline' => 'false'));
echo $this->Html->css('calendar/fullcalendar');
?>

<div id="content">
	<!--  start page-heading -->
	<div id="page-heading">
		<h1>Manage Events</h1>
    <?php //echo $this->Html->link("Ticket", array('action' => 'add')); ?>&nbsp;&nbsp;
	</div>
	<!-- end page-heading -->
	<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
	<tr>
		<th rowspan="3" class="sized">
        <?php echo $this->Html->image('/images/shared/side_shadowleft.jpg', array('width' => '20', 'height' => '300', 'alt' => '')); ?>
    </th>
		<th class="topleft"></th>
		<td id="tbl-border-top">&nbsp;</td>
		<th class="topright"></th>
		<th rowspan="3" class="sized">
        <?php echo $this->Html->image('/images/shared/side_shadowright.jpg', array('width' => '20', 'height' => '300', 'alt' => '')); ?>
    </th>
	</tr>
	<tr>
		<td id="tbl-border-left"></td>
		<td>
		<!--  start content-table-inner ...................................................................... START -->
		
			<!--  start table-content  -->

		<div id="content-table-inner">

        <div class="Calendar index">
        	<div id="calendar"></div>
        </div>
        <div class="actions">
        	<ul>
        	    <li><?php echo $this->Html->link(__('New Event', true), array('controller' => 'events', 'action' => 'add')); ?></li>
        		<li><?php echo $this->Html->link(__('Manage Events', true), array('controller' => 'events')); ?></li>
        		<li><?php echo $this->Html->link(__('Manage Events Types', true), array('controller' => 'event_types')); ?></li>
        	</ul>
        </div>
		</div>
	 
      <!--  end content-table  -->
		<!--  end content-table-inner ............................................END  -->
		</td>
		<td id="tbl-border-right"></td>
	</tr>
	<tr>
		<th class="sized bottomleft"></th>
		<td id="tbl-border-bottom">&nbsp;</td>
		<th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

</div>
<script type="text/javascript">
  $(document).ready(function() {
      $("#eventMenu").addClass("current");
  });
</script>